package atlantik.game.action;

import atlantik.game.Atlantik;

public class ConnectAction extends AtlantikClientAction {

	public ConnectAction(Atlantik client) {
		super(client, "Connect");
	}

	public void perform() {
		client.connect();
	}

	public boolean canPerform() {
		return !client.isConnected();
	}

}
